.onoff:before {
    content: "ON";
    display: block;
    background-color: #1AB394;
    color: #FFF;
    text-align: center;
    float: left;
    width:69%;
    height: 16px;
    padding: 0;
    line-height: 16px;
    font-size: 10px;
    font-family: Trebuchet,Arial,sans-serif;
    font-weight: 700;
    box-sizing: border-box;
}
.onoffs {
    right: 0px;
    display: block;
    width: 18px;
    margin: 0;
    background: #FFF;
    border: 2px solid #1AB394;
    border-radius: 3px;
    position: absolute;
    top: 0;
    bottom: 0;
    left:36px;
}
.onoff1:after {
    content: "OFF";
    display: block;
    background-color: #FFF;
    color: #919191;
    text-align: right;
    float: left;
    width: 85%;
    height: 16px;
    padding: 0;
    line-height: 16px;
    font-size: 10px;
    font-family: Trebuchet,Arial,sans-serif;
    font-weight: 700;
    box-sizing: border-box;
}
.onoff1s {
    display: block;
    width: 18px;
    background: #FFF;
    border: 2px solid #1AB394;
    border-radius: 3px;
    position: absolute;
    top: 0;
    bottom: 0;
    right:36px;
}

